/**
 * 
 */
package com.littleken.demo.exception;

import com.littleken.demo.dto.User;
import lombok.Getter;
import lombok.Setter;

/**
 * 用户不存在错误
 *
 */
@Getter
@Setter
public class UserNotExistException extends RuntimeException {

	private static final long serialVersionUID = -6112780192479692859L;
	
	private String id;
	
	public UserNotExistException(String id) {
		super("用户不存在");
		this.id = id;
	}

}
